package com.zr.dao.base;

import java.util.List;
import com.zr.vo.base.BaseCustomer;

/**
 * 委托客户增删改查
 */
public interface BaseCustomerDao {
    int deleteByPrimaryKey(Integer id);

    int insert(BaseCustomer record);

    int insertSelective(BaseCustomer record);

    BaseCustomer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseCustomer record);

    int updateByPrimaryKey(BaseCustomer record);

    BaseCustomer selectCustomerByOrderCustomerId(String customerId);

    /**
     * 查询所有委托客户信息列表
     * @return
     * @author liutienan
     */
    List<BaseCustomer> listAll();

    /**
     * 条件查询委托客户信息列表
     * @param baseCustomer
     * @return
     * @author liutienan
     */
    List<BaseCustomer> getList(BaseCustomer baseCustomer);
}